<!DOCTYPE html>
<html>
	<head>
</head>
<body>

<table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">

<tr>
<form name="form1" method="post" action="checklogin.php">
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<?php
if(isset($_GET['wrongpass']) && $_GET['wrongpass'] == 'yes')
echo "<font color='red'>Credentials Incorrect.Please Try Again </font>";
if(isset($_GET['isadded']) && $_GET['isadded'] == 'yes')
echo "<font color='blue'>You have successfully registered.Please Login to continue. </font>";
if(isset($_GET['isEmailSuccess']) && isset($_GET['email']) && $_GET['isEmailSuccess'] == 'yes'){
$uemail = $_GET['email'];
echo "<font color='blue'>Password has been sent to $uemail.Please Login to continue. </font>";
}
?>
<tr>
<td colspan="3"><strong>SmartTest Login </strong></td>
</tr>
<tr>
<td width="78">Username</td>
<td width="6">:</td>
<td width="294"><input name="myusername" type="text" id="myusername"></td>
</tr>
<tr>
<td>Password</td>
<td>:</td>
<td><input name="mypassword" type="password" id="mypassword"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;<input type="hidden" name="isAdmin" value="<?php if(isset($_GET['isAdmin'])){ echo $_GET['isAdmin'];} ?>"></td>
<td><input type="submit" name="Submit" value="Login"></td>
<td> <a href="forgotcredentials.php">Forgot&nbspCredentials</a> </td>
</tr>
</table>
</td>
</form>
</tr>

</table>

</body>
</html>